package com.situ.object.entity;
/*
* 用户表的实体类
* 用户表
* 属性要跟表字段一致
* get和set封装方法
* */
public class Teacher {
   private Integer teacherId;
   private String teacherName;
   private String studentPassword;
   private String teacherSex;
   private Integer teacherAge;
   private String phone;
   private String title;

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getStudentPassword() {
        return studentPassword;
    }

    public void setStudentPassword(String studentPassword) {
        this.studentPassword = studentPassword;
    }

    public String getTeacherSex() {
        return teacherSex;
    }

    public void setTeacherSex(String teacherSex) {
        this.teacherSex = teacherSex;
    }

    public Integer getTeacherAge() {
        return teacherAge;
    }

    public void setTeacherAge(Integer teacherAge) {
        this.teacherAge = teacherAge;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "teacherId=" + teacherId +
                ", teacherName='" + teacherName + '\'' +
                ", studentPassword='" + studentPassword + '\'' +
                ", teacherSex='" + teacherSex + '\'' +
                ", teacherAge=" + teacherAge +
                ", phone='" + phone + '\'' +
                ", title='" + title + '\'' +
                '}';
    }
}
